home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 1
/
Zoom (1995)(Active Software, Ground Zero).iso
/
utils
/
u605.dms
/
u605.adf
/
Utilities
/
ListCmp.doc
< prev
Wrap
Text File
|
1994-08-17
|
2KB
|
75 lines
ListCmp (68020) - 1994 By Pasi Ristioja
With this little utility you can compare filelists, handy if you
keep track of downloadings and want to check them against some
filelist.
> INSERT STANDARD DISCLAIMER <
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FILE
Cmp filelist.
FILE
Filelist to compare against.
These are optional:
I=INCLUDE
Write matched lines to this file.
E=EXCLUDE
Write unmatched lines to this file.
B=BUFSIZE
Cmp lines buffersize, default is 16384 and range is 2048-2^32. Bigger
values than 64Kb will not give much speed increase.
STRIP=STRIPSUFFIX
Suffix is not compared. Normally line is considired equal if space or
$a (linefeed) in encountered, this adds dot (.) for this group.
CASE
Case sensitive compare.
EQU
Chars _ and - are considered equivalent.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Normally you should use command like this:
ListCmp files.cmp files.bbs I RAM:Include E RAM:Exclude STRIP EQU
files.cmp - files what you have
files.bbs - files what bbs have
I RAM:Include - files which were found in both list files
E RAM:Exclude - files which were only in files.bbs (download these;-)
STRIP - Claudia.gif and Claudia.jpg are equal
EQU - Crawford_Nude.gif and Crawford-Nude.gif are equal
Filelists must be formatted like this:
filename <space> description
filename <space> description
filename <space> description
filename <space> description
more description
filename <space> description
Listcmp will skip possible spaces before filename, space after
filename is not needed if you use STRIP option or line contains only
filename. In short: only one filename per line and it must be first.
If cmp filelist contains lines with other text than filename it may
increase matches as those first word is considired filename.